package com.wn.equipment.service;

import com.wn.entity.InventoryBookkeeping;
import com.wn.entity.Material;
import com.wn.entity.ReturnInWarehouseApplication;

import java.util.List;

/**
 * @author zhairenhao
 * @date 2022/10/21 15:11
 */
public interface StatisticsQueryService {

    /**
     * @Author ReenHamZ
     * @Description 通过物料编号查询生产入库申请表
     * @Param [com.wn.entity.Material]
     * @return java.util.List<com.wn.entity.Material>
     **/
    List<Material> getProductInWarehouseByMaterialNumberId(Material material);

    /**
     * @Author ReenHamZ
     * @Description 通过物料编号查询采购入库申请表
     * @Param [com.wn.entity.Material]
     * @return java.util.List<com.wn.entity.Material>
     **/
    List<Material> getPurchaseInWarehouseByMaterialNumberId(Material material);

    /**
     * @Author ReenHamZ
     * @Description 通过库存台账工单号、批次号查询来料检验入库申请表
     * @Param [com.wn.entity.InventoryBookkeeping]
     * @return java.util.List<com.wn.entity.InventoryBookkeeping>
     **/
    List<InventoryBookkeeping> getInspectionInWarehouseByCondition(InventoryBookkeeping inventoryBookkeeping);

    /**
     * @Author ReenHamZ
     * @Description 通过库存台账编号ID查询借用返还入库申请单
     * @Param [com.wn.entity.InventoryBookkeeping]
     * @return java.util.List<com.wn.entity.ReturnInWarehouseApplication>
     **/
    List<ReturnInWarehouseApplication> getReturnInWarehouseByInventoryBookkeepingId(InventoryBookkeeping inventoryBookkeeping);

    /**
     * @Author ReenHamZ
     * @Description 通过库存台账编号ID查询出库申请表
     * @Param [com.wn.entity.InventoryBookkeeping]
     * @return java.util.List<com.wn.entity.ReturnInWarehouseApplication>
     **/
    List<ReturnInWarehouseApplication> getOutWarehouseByInventoryBookkeepingId(InventoryBookkeeping inventoryBookkeeping);

    /**
     * @Author ReenHamZ
     * @Description 通过库存台账编号ID查询借用出库申请表
     * @Param [com.wn.entity.InventoryBookkeeping]
     * @return java.util.List<com.wn.entity.ReturnInWarehouseApplication>
     **/
    List<ReturnInWarehouseApplication> getBorrowWarehouseByInventoryBookkeepingId(InventoryBookkeeping inventoryBookkeeping);



}
